package com.mofum.msdom.excel.template.metadata;

import java.util.Map;

/**
 * Excel模板
 *
 * @author yuyang@qxy37.com
 * @since 2019/1/24 0024 19:52
 */
public class MPExcelTemplate {

    /**
     * 模板索引
     */
    private String index;

    /**
     * 缓存
     */
    private int cache;

    /**
     * 模板名称
     */
    private String name;

    /**
     * Sheet Index 和模板的关系
     */
    private Map<Integer, MPSheetTemplate> sheetTemplates;

    /**
     * 工作薄地址
     */
    private String workbookAddress;

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public int getCache() {
        return cache;
    }

    public void setCache(int cache) {
        this.cache = cache;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Map<Integer, MPSheetTemplate> getSheetTemplates() {
        return sheetTemplates;
    }

    public void setSheetTemplates(Map<Integer, MPSheetTemplate> sheetTemplates) {
        this.sheetTemplates = sheetTemplates;
    }

    public String getWorkbookAddress() {
        return workbookAddress;
    }

    public void setWorkbookAddress(String workbookAddress) {
        this.workbookAddress = workbookAddress;
    }
}
